﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MailBox.App_Code.dto
{
    [SQLTable("tblMB_Inbox")]
    public class InboxDTO
    {
        [PKKey(true)]
        public decimal id { get; set; }
        public string sender { get; set; }
        public string reciever { get; set; }
        public string subject { get; set; }
        public string body { get; set; }
        public bool isOpen { get; set; }
        public DateTime? OpenDate { get; set; }
        public DateTime RecieveDate { get; set; }
        public string FileAttached { get; set; }
        public string MessageId { get; set; }
        public DateTime RecieveTime { get; set; }

        public string body_html { get; set; }

        public object senderName { get; set; }

        public object inbox_reciever { get; set; }
    }
}